SUBDIRS = po

xmlfiles = \
	keypad.xml \
	toolbar-fullscreen.xml \
	toolbar-window.xml

BUILT_SOURCES = $(xmlfiles:.xml=.c)

CLEANFILES = $(BUILT_SOURCES)

%.c: %.xml
	$(top_srcdir)/src/mktrans $< > $@

EXTRA_DIST = \
	build_rpms.sh \
	gxine.spec.in \
	gxine.spec \
	lircrc \
	$(data_DATA) \
	$(sysconf_DATA)

datadir   = $(GXINE_MISCPATH)
data_DATA = mediamarks

sysconfdir   = $(GXINE_CONFPATH)
sysconf_DATA = gtkrc startup $(xmlfiles)

debug: all

install-debug: install

mostlyclean-generic:
	-rm -f *~ \#* .*~ .\#*

maintainer-clean-generic:
	-@echo "This command is intended for maintainers to use;"
	-@echo "it deletes files that may require special tools to rebuild."
	-rm -f Makefile.in

xmltrans: $(BUILT_SOURCES)

.DELETE_ON_ERROR:
